package cn.tutu.shop.entity;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import cn.tutu.blockchain.base.BaseObject;

@Mapper
public class Order extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3821254155469425146L;

	private String userId;
	private String expressId;
	private String orderNum;
	private Double total;
	private String status;
	private String payType;
	private Express express;
	private List<OrderItem> items;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getExpressId() {
		return expressId;
	}

	public void setExpressId(String expressId) {
		this.expressId = expressId;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public List<OrderItem> getItems() {
		return items;
	}

	public void setItems(List<OrderItem> items) {
		this.items = items;
	}

	public Express getExpress() {
		return express;
	}

	public void setExpress(Express express) {
		this.express = express;
	}

}
